package com.yingxue.lesson;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author lai
 * @version 1.0
 * @date 2021/5/29 21:51
 * @description
 */
@SpringBootApplication
@EnableFeignClients(basePackages = "com.cloud")
@EnableDiscoveryClient
@ComponentScan(basePackages = "com")
public class WebApp2Application {

    public static void main(String[] args) {
        SpringApplication.run(WebApp2Application.class, args);
    }

}
